package com.zengqingfa.designpattern.create.factory.abstractf;

/**
 *
 * @fileName: ConcreteProduct2Factory
 * @author: zengqf3
 * @date: 2021-4-21 16:33
 * @description:
 */
public class ConcreteProductPairFactory implements ProductFactory {

    @Override
    public Product1 createProduct1() {
        return new ConcreteProduct11();
    }

    @Override
    public Product2 createProduct2() {
        return new ConcreteProduct22();
    }
}
